package CSC8002;

import java.util.*;

public final class DrivingLicence {

	private final Name name; 
	private final Date dob;
	private final Date issueDate;
	private final LicenceNumber number;
	private final boolean isFull;
	
	public DrivingLicence(Name name, Date dob, Date issueDate, LicenceNumber number, boolean isFull){
		this.name = name;
		this.dob = dob;
		this.issueDate = issueDate;
		this.isFull = isFull;
		this.number = number;
	}
	
	public Name getName(){
		return name;
	}
	
	public Date getDOB(){
		return dob;
	}
	
	public Date getIssueDate(){
		return issueDate;
	}
	
	public LicenceNumber getLicenceNumber(){
		return number;
	}
	
	public boolean getType(){
		return isFull;
	}
}

